<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>后台首页</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/admin.css}">
<!--    <link rel="stylesheet" type="text/css" th:href="@{/css/index.css}">-->
</head>
<body>
<!--    <h2>后台的主页面</h2>-->
    <div class="container">
        <!--top-->
        <div class="top">
            <h3>欢迎,
                <th:block th:text="${session.adminUser.userName}"></th:block>
                [<a href="/admin/logout">注销</a>]
            </h3>
        </div>
        <!--main-->
        <div class="main">
            <div class="left">
                <ul>
                    <li>
                        <a href="javascript:void(0)">基础数据管理</a>
                        <ul>
                            <li><a href="/admin/category/list" target="content">商品分类查询</a></li>
                            <li><a href="/admin/category/add" target="content">商品分类添加</a></li>
                            <li><a href="/admin/goods/list" target="content">商品信息查询</a></li>
                            <li><a href="/admin/goods/add" target="content">商品信息添加</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="right">
                <iframe src="/admin/welcome" name="content"></iframe>
            </div>
        </div>
    </div>
</body>
</html>